package com.moss.cloud.auth.biz.model.from;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

@Data
public class CaptchaFrom implements Serializable {
    @NotBlank(message = "验证码不能为空")
    @Size(min = 4,message = "验证码最小长度为4个字符")
    private String code;
}
